/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/

// IDD and IDC
#define RUM_SUP_IDD 1060
#define RUM_BttnExit_IDC 1061
#define RUM_BttnSUP_IDC 1062
#define RUM_ListSUP_IDC 1063
#define RUM_ListSUPpayload_IDC 1064
#define RUM_BttnSUPType_IDC 1065

// Main Dialog
class RUM_SUP {
	idd = RUM_SUP_IDD;
	movingEnable = false;
	onUnload = "call RUM_fn_ppEffect_dialogDestroy;";

	class controlsBackground {
		class RUM_Screen: RUM_RscBackground {
		
			x = 0.3585;
			y = 0.0755;
			w = 0.29;
			h = 0.48;
		};

		class RUM_Farty: RUM_RscFrame {
			text = " SUPPLY LOGISTICS REQUEST ";
			x = 0.36725;
			y = 0.0785;
			w = 0.26815;
			h = 0.4785;
		};

		class RUM_BACKGRD: RUM_RscPic { 
			x = 0.28712;
			y = -0.1290;
			w = 0.4255;
			h = 1.1455;
			text="RUM\Common\pda.paa";
		};
	};

	// Controls -----------------------------
	class controls {
		class RUM_BttnClose: RUM_RscButton {
			idc = -1;
			colorText[] = { 1, 1, 1, 0 };
			colorFocused[] = { 1, 1, 1, 0 }; 
			colorDisabled[] = { 1, 1, 1, 0 }; 
			colorBackground[] = { 1, 1, 1, 0 };
			colorBackgroundDisabled[] = { 1, 1, 1, 0 }; 
			colorBackgroundActive[] = { 1, 1, 1, 0 }; 
			text = "E";
			x = 0.601;
			y = 0.659;
			w = 0.05;
			h = 0.05;
			action = "closeDialog 0";
		};

		class RUM_BttnTHel: RUM_BttnClose {
			idc = RUM_BttnSUP_IDC;
			text = "C";
			x = 0.345;
			y = 0.659;
			w = 0.05;
			h = 0.05;
			action = "[] call RUM_BttnSUP";
		};

		class RUM_BttnSUPType: RUM_RscComboBox {
			idc = RUM_BttnSUPType_IDC;
			x = 0.37;
  			y = 0.52;
  			w = 0.26;
  			h = 0.03;
		};

	// Fxd ---------------------------------
		class RUM_ListSUPT: RUM_RscText {
			x = 0.37;
			y = 0.11;
			w = 0.26;
			h = 0.03;
			text="SELECT AN AIRCRAFT";
		};

		class RUM_ListSUP: RUM_RscListBox {
			idc = RUM_ListSUP_IDC;
			x = 0.37;
			y = 0.14;
			w = 0.26;
			h = 0.16;
		};

		class RUM_TypeSUPT: RUM_RscText {
			x = 0.37;
			y = 0.30;
			w = 0.26;
			h = 0.03;
			text="SELECT PAYLOAD";
		};

		class RUM_ListSUPpayload: RUM_RscListBox {
			idc = RUM_ListSUPpayload_IDC;
			x = 0.37;
			y = 0.33;
			w = 0.26;
			h = 0.16;
		};

		class RUM_TypeSUPT2: RUM_RscText {
			x = 0.37;
			y = 0.49;
			w = 0.26;
			h = 0.03;
			text="SELECT DROP ORDERS";
		};
	};
};